<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>ECshop自动化测试报告</title>
    <meta name="generator" content="HTMLTestRunner 1.2.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
    <script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
    <script src="https://img.hcharts.cn/highcharts/modules/exporting.js"></script>
    
<style type="text/css" media="screen">
body        { font-family: Microsoft YaHei;padding: 20px; font-size: 100%; }
table       { font-size: 100%; }
.table tbody tr td{
            vertical-align: middle;
        }
/* -- heading ---------------------------------------------------------------------- */
.heading .description, .attribute {
    clear: both;
}
/* --- 失败和错误合集样式 -- Gelomen --- */
.failCollection, .errorCollection {
    width: 100px;
    float: left;
}
#failCaseOl li {
    color: red
}
#errorCaseOl li {
    color: orange
}
/* --- 打开截图特效样式 -- Gelomen --- */
.data-img{
    cursor:pointer
}
.pic_looper{
    width:100%;
    height:100%;
    position: fixed;
    left: 0;
    top:0;
    opacity: 0.6;
    background: #000;
    display: none;
    z-index: 100;
}
.pic_show{
    width:100%;
    position:fixed;
    left:0;
    top:0;
    right:0;
    bottom:0;
    margin:auto;
    text-align: center;
    display: none;
    z-index: 100;
}
.pic_box{
    padding:10px;
    width:90%;
    height:90%;
    margin:40px auto;
    text-align: center;
    overflow: hidden;
}
.pic_box img{
    width: auto;
    height: 100%;
    -moz-box-shadow: 0px 0px 20px 0px #000;
    -webkit-box-shadow: 0px 0px 20px 0px #000;
    box-shadow: 0px 0px 20px 0px #000;
}
/* --- 饼状图div样式 -- Gelomen --- */
#container {
    width: 450px;
    height: 300px;
    float: left;
}
/* -- report ------------------------------------------------------------------------ */
#total_row  { font-weight: bold; }
.passCase   { color: #5cb85c; }
.failCase   { color: #d9534f; font-weight: bold; }
.errorCase  { color: #f0ad4e; font-weight: bold; }
.hiddenRow  { display: none; }
.testcase   { margin-left: 2em; }
.screenshot:link { text-decoration: none;color: deeppink; }
.screenshot:visited { text-decoration: none;color: deeppink; }
.screenshot:hover { text-decoration: none;color: darkcyan; }
.screenshot:active { text-decoration: none;color: deeppink; }
</style>

</head>
<body >
<script language="javascript" type="text/javascript">
    $(function(){
        // 修改 失败 和 错误 用例里对应按钮的颜色ClassName为动态加载 -- Gelomen
    	$("button").each(function () {
    	    var text = $(this).text();
    	    if(text == "失败"){
    	        $(this).addClass("btn-danger")
            }else if(text == "错误") {
                $(this).addClass("btn-warning")
            }
        });
        // 给失败和错误合集加样式 -- Gelomen
        var p_attribute = $("p.attribute");
        p_attribute.eq(4).addClass("failCollection");
        p_attribute.eq(5).addClass("errorCollection");
        // 打开截图，放大，点击任何位置可以关闭图片  -- Gelomen
        $(".screenshot").click(function(){
            var img = $(this).attr("img");
            $('.pic_show img').attr('src', img);
            $('.pic_looper').fadeIn(200);
            $('.pic_show').fadeIn(200);
            var browserHeight = $(window).height();
            var pic_boxHeight = $(".pic_box").height();
            var top = (browserHeight - pic_boxHeight)/2;
            $('.pic_box').css("margin-top", top + "px")
        });
        $('.pic_looper, .pic_show').click(function(){
            $('.pic_looper').fadeOut(200);
            $('.pic_show').fadeOut(200)
        });
        var browserWidth = $(window).width();
        var margin_left = browserWidth/2 - 450;
        if(margin_left <= 240){
            $("#container").css("margin", "auto");
        }else {
            $("#container").css("margin-left", margin_left + "px");
        }
        $(window).resize(function(){
            // 改变窗口大小时，自动改变图片与顶部的距离  -- Gelomen
            var browserHeight = $(window).height();
            var pic_boxHeight = $(".pic_box").height();
            var top = (browserHeight - pic_boxHeight)/2;
            $('.pic_box').css("margin-top", top + "px");
            // 改变窗口大小时，自动改变饼图的边距  -- Gelomen
            var browserWidth = $(window).width();
            var margin_left = browserWidth/2 - 450;
            if(margin_left <= 240){
                $("#container").css("margin", "auto");
            }else {
                $("#container").css("margin-left", margin_left + "px");
            }
        });
        // 距离顶部超过浏览器窗口一屏时，回到顶部按钮才出现  -- Gelomen
        $(window).scroll(function(){
            var browserHeight = $(window).height();
            var top = $(window).scrollTop();
            if(top >= browserHeight){
                $("#toTop").css("display", "block")
            }else {
                $("#toTop").css("display", "none")
            }
        })
        // 增加回到顶部过程的动画，以看上去不会那么生硬  -- Gelomen
        $("#toTop").click(function() {
            $("html,body").animate({"scrollTop":0}, 700)
        })
        // 增加饼状图  -- Gelomen
        $('#container').highcharts({
            chart: {
                plotBackgroundColor: null,
                plotBorderWidth: null,
                plotShadow: false,
                spacing : [0, 0, 0, 0]
            },
            credits: {
                enabled: false
            },
            navigation: {
                buttonOptions: {
                    enabled: false
                }
            },
            title: {
                floating:true,
                text: '测试结果占比'
            },
            tooltip: {
                pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
            },
            plotOptions: {
                pie: {
                    allowPointSelect: true,
                    cursor: 'pointer',
                    colors: ['#81ca9d', '#f16d7e', '#fdc68c'],
                    dataLabels: {
                        enabled: true,
                        format: '<b>{point.name}</b>: {point.percentage:.1f} %',
                        style: {
                            color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black'
                        }
                    },
                    point: {
                        events: {
                            mouseOver: function(e) {  // 鼠标滑过时动态更新标题
                                chart.setTitle({
                                    text: e.target.name+ '\t'+ e.target.y + ' 个'
                                });
                            }
                        }
                    }
                }
            },
            series: [{
                type: 'pie',
                innerSize: '80%',
                name: '比例',
                data: [
                    ['通过', 47],
                    {
                        name: '失败',
                        y: 6,
                        sliced: true,
                        selected: true
                    },
                    ['错误', 5]
                ]
            }]
        }, function(c) {
            // 环形图圆心
            var centerY = c.series[0].center[1],
                titleHeight = parseInt(c.title.styles.fontSize);
            c.setTitle({
                y:centerY + titleHeight/2
            });
            chart = c;
        });
        // 查看 失败 和 错误 合集链接文字切换  -- Gelomen
        $(".showDetail").click(function () {
            if($(this).html() == "点击查看"){
                $(this).html("点击收起")
            }else {
                $(this).html("点击查看")
            }
        })
    });
output_list = Array();
/*level 调整增加只显示通过用例的分类 --Findyou / 修复筛选显示bug --Gelomen
0:Summary //all hiddenRow
1:Failed  //pt&et hiddenRow, ft none
2:Pass    //pt none, ft&et hiddenRow
3:Error   //pt&ft hiddenRow, et none
4:All     //all none
*/
function showCase(level) {
    trs = document.getElementsByTagName("tr");
    for (var i = 0; i < trs.length; i++) {
        tr = trs[i];
        id = tr.id;
        if (id.substr(0,2) == 'ft') {
            if (level == 2 || level == 0 || level == 3) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
                // 切换筛选时只显示预览   -- Gelomen
                $("div[id^='div_ft']").attr("class", "collapse");
                $("div[id^='div_et']").attr("class", "collapse");
            }
        }
        if (id.substr(0,2) == 'pt') {
            if (level == 1 || level == 0 || level == 3) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
                // 切换筛选时只显示预览   -- Gelomen
                $("div[id^='div_ft']").attr("class", "collapse");
                $("div[id^='div_et']").attr("class", "collapse");
            }
        }
        if (id.substr(0,2) == 'et') {
            if (level == 1 || level == 0 || level == 2) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
                // 切换筛选时只显示预览   -- Gelomen
                $("div[id^='div_ft']").attr("class", "collapse");
                $("div[id^='div_et']").attr("class", "collapse");
            }
        }
    }
    //加入【详细】切换文字变化 --Findyou
    detail_class=document.getElementsByClassName('detail');
	//console.log(detail_class.length)
	if (level == 3) {
		for (var i = 0; i < detail_class.length; i++){
			detail_class[i].innerHTML="收起"
		}
	}
	else{
			for (var i = 0; i < detail_class.length; i++){
			detail_class[i].innerHTML="详细"
		}
	}
}
function showClassDetail(cid, count) {
    var id_list = Array(count);
    var toHide = 1;
    for (var i = 0; i < count; i++) {
        //ID修改 点 为 下划线 -Findyou
        tid0 = 't' + cid.substr(1) + '_' + (i+1);
        tid = 'f' + tid0;
        tr = document.getElementById(tid);
        if (!tr) {
            tid = 'p' + tid0;
            tr = document.getElementById(tid);
            if (!tr) {
                tid = 'e' + tid0;
                tr = document.getElementById(tid);
            }
        }
        id_list[i] = tid;
        if (tr.className) {
            toHide = 0;
        }
    }
    for (var i = 0; i < count; i++) {
        tid = id_list[i];
        //修改点击无法收起的BUG，加入【详细】切换文字变化 --Findyou
        if (toHide) {
            document.getElementById(tid).className = 'hiddenRow';
            document.getElementById(cid).innerText = "详细"
        }
        else {
            document.getElementById(tid).className = '';
            document.getElementById(cid).innerText = "收起"
        }
    }
}
function html_escape(s) {
    s = s.replace(/&/g,'&amp;');
    s = s.replace(/</g,'&lt;');
    s = s.replace(/>/g,'&gt;');
    return s;
}
</script>
<div class='pic_looper'></div> <div class='pic_show'><div class='pic_box'><img src=''/></div> </div>
<div class='heading'>
<div style="width: 650px; float: left;">
    <h1 style="font-family: Microsoft YaHei">ECshop自动化测试报告</h1>
    <p class='attribute'><strong>测试人员 : </strong> 7</p>
<p class='attribute'><strong>开始时间 : </strong> 2022-07-08 18:19:18</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:25:59.785336</p>
<p class='attribute'><strong>测试结果 : </strong> 共 58，通过 47，失败 6，错误 5，通过率 = 81.03%</p>
<p class='attribute'><strong>失败用例合集 : </strong> <div class='panel-default' style='float: left;'><a class='showDetail' data-toggle='collapse' href='#failCaseOl' style='text-decoration: none;'>点击查看</a></div><ol id='failCaseOl' class='collapse' style='float: left;'><li>test_08_banner (test_01_04_08_banner.TestCase08)</li><li>test_09_activity (test_01_04_09_activity.TestCase09)</li><li>test_06_page_inventory (test_01_05_06_inventory_order.TestCase06)</li><li>test_07_page_inventory (test_01_05_07_sale.TestCase07)</li><li>test_01_input (test_01_06_03_JieSuan.Testcase03)</li><li>test_01_order_management (test_02_03_03case_order_management.TestCase01)</li></ol></p>
<p class='attribute'><strong>错误用例合集 : </strong> <div class='panel-default' style='float: left;'><a class='showDetail' data-toggle='collapse' href='#errorCaseOl' style='text-decoration: none;'>点击查看</a></div><ol id='errorCaseOl' class='collapse' style='float: left;'><li>test_07_group_buy (test_01_04_07_group_buy.TestCase07)</li><li>test_01_input (test_01_06_07_No_sure_delete.Testcase03)</li><li>test_01_input (test_01_06_09_no_sure_clooection.Testcase03)</li><li>test_01_input (test_01_06_10_add_addr.Testcase03)</li><li>test_01_add_goods (test_02_02_02_add_goods.TestCase02)</li></ol></p>

    <p class='description'>测试部</p>
</div>
<div id="container"></div>
</div>


<div style="width: 500px; clear: both;">
<p id='show_detail_line'>
<a class="btn btn-primary" href='javascript:showCase(0)'>概要{ 81.03% }</a>
<a class="btn btn-success" href='javascript:showCase(2)'>通过{ 47 }</a>
<a class="btn btn-danger" href='javascript:showCase(1)'>失败{ 6 }</a>
<a class="btn btn-warning" href='javascript:showCase(3)'>错误{ 5 }</a>
<a class="btn btn-info" href='javascript:showCase(4)'>所有{ 58 }</a>
</p>
</div>
<table id='result_table' class="table table-condensed table-bordered table-hover">
<colgroup>
<col align='left' style="width: 300px;"/>
<col align='right' style="width: 300px;"/>
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' style="width: 200px;"/>
</colgroup>
<tr id='header_row' class="text-center success" style="font-weight: bold;font-size: 14px;">
    <td>用例集/测试用例</td>
    <td>说明</td>
    <td>总计</td>
    <td>通过</td>
    <td>失败</td>
    <td>错误</td>
    <td>耗时</td>
    <td>详细</td>
</tr>

<tr class='passClass warning'>
    <td>TestCase01</td>
    <td></td>
    <td class="text-center">3</td>
    <td class="text-center">3</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">25.39秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c1',3)" class="detail" id='c1'>详细</a></td>
</tr>

<tr id='pt1_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_first_page_search_yes_input_1</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt1_2' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_first_page_search_yes_input_2</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt1_3' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_first_page_search_yes_input_3</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase02</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">8.39秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c2',1)" class="detail" id='c2'>详细</a></td>
</tr>

<tr id='pt2_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_02_first_page_search_no_input</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase03</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">15.44秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c3',1)" class="detail" id='c3'>详细</a></td>
</tr>

<tr id='pt3_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_03_show_choice</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase04</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">10.57秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c4',1)" class="detail" id='c4'>详细</a></td>
</tr>

<tr id='pt4_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_04_drop_down_box</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase05</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">12.64秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c5',1)" class="detail" id='c5'>详细</a></td>
</tr>

<tr id='pt5_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_05_goto_module</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase06</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">14.8秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c6',1)" class="detail" id='c6'>详细</a></td>
</tr>

<tr id='pt6_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_06_goto_module</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='errorClass warning'>
    <td>TestCase07</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">7.2秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c7',1)" class="detail" id='c7'>详细</a></td>
</tr>

    <tr id='et7_1' class='none'>
        <td class='errorCase' style="vertical-align: middle"><div class='testcase'>test_07_group_buy</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_et7_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_et7_1'>错误</button>
        <div id='div_et7_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_et7_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_et7_1'>错误</button>
        <div id='div_et7_1' class="collapse in">
        <pre style="text-align:left">
        
et7_1: Traceback (most recent call last):
  File "D:\自动化项目\ECshop\case\test_01_04_07_group_buy.py", line 31, in test_07_group_buy
    self.my_browser.page_group_buy_click_img()
  File "D:\自动化项目\ECshop\page\group_buy.py", line 23, in page_group_buy_click_img
    self.base_click(self.group_buy)
  File "D:\自动化项目\ECshop\common\base.py", line 59, in base_click
    WebDriverWait(self.my, time).until(EC.presence_of_element_located(your_locator)).click()
  File "C:\Users\23160\AppData\Roaming\Python\Python37\site-packages\selenium\webdriver\remote\webelement.py", line 80, in click
    self._execute(Command.CLICK_ELEMENT)
  File "C:\Users\23160\AppData\Roaming\Python\Python37\site-packages\selenium\webdriver\remote\webelement.py", line 628, in _execute
    return self._parent.execute(command, params)
  File "C:\Users\23160\AppData\Roaming\Python\Python37\site-packages\selenium\webdriver\remote\webdriver.py", line 320, in execute
    self.error_handler.check_response(response)
  File "C:\Users\23160\AppData\Roaming\Python\Python37\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element &lt;img src="data/afficheimg/1462847712105834896.jpg" width="230" height="206" border="0"&gt; is not clickable at point (115, 660). Other element would receive the click: &lt;a href="category.php?id=34"&gt;...&lt;/a&gt;
  (Session info: chrome=103.0.5060.114)



        </pre>
        </div>
        </td>
        <td class='errorCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='failClass warning'>
    <td>TestCase08</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">13.3秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c8',1)" class="detail" id='c8'>详细</a></td>
</tr>

    <tr id='ft8_1' class='none'>
        <td class='failCase' style="vertical-align: middle"><div class='testcase'>test_08_banner</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_ft8_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_ft8_1'>失败</button>
        <div id='div_ft8_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_ft8_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_ft8_1'>失败</button>
        <div id='div_ft8_1' class="collapse in">
        <pre style="text-align:left">
        
ft8_1: Traceback (most recent call last):
  File "D:\自动化项目\ECshop\case\test_01_04_08_banner.py", line 37, in test_08_banner
    self.assertFalse(re == '1F 家用电器')
AssertionError: True is not false


        </pre>
        </div>
        </td>
        <td class='failCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='failClass warning'>
    <td>TestCase09</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">17.3秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c9',1)" class="detail" id='c9'>详细</a></td>
</tr>

    <tr id='ft9_1' class='none'>
        <td class='failCase' style="vertical-align: middle"><div class='testcase'>test_09_activity</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_ft9_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_ft9_1'>失败</button>
        <div id='div_ft9_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_ft9_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_ft9_1'>失败</button>
        <div id='div_ft9_1' class="collapse in">
        <pre style="text-align:left">
        
ft9_1: Traceback (most recent call last):
  File "D:\自动化项目\ECshop\case\test_01_04_09_activity.py", line 41, in test_09_activity
    self.assertFalse(re == '1F 家用电器')
AssertionError: True is not false


        </pre>
        </div>
        </td>
        <td class='failCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='passClass warning'>
    <td>TestCase10</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">10.5秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c10',1)" class="detail" id='c10'>详细</a></td>
</tr>

<tr id='pt10_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_10_order</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase11</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">8.3秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c11',1)" class="detail" id='c11'>详细</a></td>
</tr>

<tr id='pt11_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_10_order</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase01</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">29.73秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c12',1)" class="detail" id='c12'>详细</a></td>
</tr>

<tr id='pt12_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_page_buy</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase02</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">17.64秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c13',1)" class="detail" id='c13'>详细</a></td>
</tr>

<tr id='pt13_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_02_page_buy</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase02</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">14.72秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c14',1)" class="detail" id='c14'>详细</a></td>
</tr>

<tr id='pt14_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_02_page_buy</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase04</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">24.07秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c15',1)" class="detail" id='c15'>详细</a></td>
</tr>

<tr id='pt15_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_04_page_no_commodity</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase05</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">29.59秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c16',1)" class="detail" id='c16'>详细</a></td>
</tr>

<tr id='pt16_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_05_page_inventory</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='failClass warning'>
    <td>TestCase06</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">33.98秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c17',1)" class="detail" id='c17'>详细</a></td>
</tr>

    <tr id='ft17_1' class='none'>
        <td class='failCase' style="vertical-align: middle"><div class='testcase'>test_06_page_inventory</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_ft17_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_ft17_1'>失败</button>
        <div id='div_ft17_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_ft17_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_ft17_1'>失败</button>
        <div id='div_ft17_1' class="collapse in">
        <pre style="text-align:left">
        
ft17_1: Traceback (most recent call last):
  File "D:\自动化项目\ECshop\case\test_01_05_06_inventory_order.py", line 39, in test_06_page_inventory
    self.assertEqual('商品库存： 18',result)
AssertionError: '商品库存： 18' != '商品库存： 20'
- 商品库存： 18
?       ^^
+ 商品库存： 20
?       ^^



        </pre>
        </div>
        </td>
        <td class='failCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='failClass warning'>
    <td>TestCase07</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">30.18秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c18',1)" class="detail" id='c18'>详细</a></td>
</tr>

    <tr id='ft18_1' class='none'>
        <td class='failCase' style="vertical-align: middle"><div class='testcase'>test_07_page_inventory</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_ft18_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_ft18_1'>失败</button>
        <div id='div_ft18_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_ft18_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_ft18_1'>失败</button>
        <div id='div_ft18_1' class="collapse in">
        <pre style="text-align:left">
        
ft18_1: Traceback (most recent call last):
  File "D:\自动化项目\ECshop\case\test_01_05_07_sale.py", line 39, in test_07_page_inventory
    self.assertEqual('累计销量：1',result)
AssertionError: '累计销量：1' != '累计销量：0'
- 累计销量：1
?      ^
+ 累计销量：0
?      ^



        </pre>
        </div>
        </td>
        <td class='failCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='passClass warning'>
    <td>TestCase08</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">25.04秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c19',1)" class="detail" id='c19'>详细</a></td>
</tr>

<tr id='pt19_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_08_page_inventory</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase09</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">25.14秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c20',1)" class="detail" id='c20'>详细</a></td>
</tr>

<tr id='pt20_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_09_page_tag</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase10</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">34.0秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c21',1)" class="detail" id='c21'>详细</a></td>
</tr>

<tr id='pt21_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_10_page_buy_record</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>Testcase01</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">17.74秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c22',1)" class="detail" id='c22'>详细</a></td>
</tr>

    <tr id='pt22_1' class='hiddenRow'>
        <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_input</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_pt22_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_pt22_1'>通过</button>
        <div id='div_pt22_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_pt22_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_pt22_1'>通过</button>
        <div id='div_pt22_1' class="collapse in">
        <pre style="text-align:left">
        
pt22_1: 当前位置: 首页 &gt; 商品搜索_包


        </pre>
        </div>
        </td>
        <td class='passCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='passClass warning'>
    <td>Testcase02</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">13.47秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c23',1)" class="detail" id='c23'>详细</a></td>
</tr>

    <tr id='pt23_1' class='hiddenRow'>
        <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_input</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_pt23_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_pt23_1'>通过</button>
        <div id='div_pt23_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_pt23_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_pt23_1'>通过</button>
        <div id='div_pt23_1' class="collapse in">
        <pre style="text-align:left">
        
pt23_1: FaintLightT


        </pre>
        </div>
        </td>
        <td class='passCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='failClass warning'>
    <td>Testcase03</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">41.21秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c24',1)" class="detail" id='c24'>详细</a></td>
</tr>

    <tr id='ft24_1' class='none'>
        <td class='failCase' style="vertical-align: middle"><div class='testcase'>test_01_input</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_ft24_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_ft24_1'>失败</button>
        <div id='div_ft24_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_ft24_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_ft24_1'>失败</button>
        <div id='div_ft24_1' class="collapse in">
        <pre style="text-align:left">
        
ft24_1: None
Traceback (most recent call last):
  File "D:\自动化项目\ECshop\case\test_01_06_03_JieSuan.py", line 32, in test_01_input
    self.assertEqual(result, '感谢您在本店购物！您的订单已提交成功，请记住您的订单号: 2022070899065')
AssertionError: None != '感谢您在本店购物！您的订单已提交成功，请记住您的订单号: 2022070899065'


        </pre>
        </div>
        </td>
        <td class='failCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='passClass warning'>
    <td>Testcase03</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">24.25秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c25',1)" class="detail" id='c25'>详细</a></td>
</tr>

    <tr id='pt25_1' class='hiddenRow'>
        <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_input</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_pt25_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_pt25_1'>通过</button>
        <div id='div_pt25_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_pt25_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_pt25_1'>通过</button>
        <div id='div_pt25_1' class="collapse in">
        <pre style="text-align:left">
        
pt25_1: 购物车(1)


        </pre>
        </div>
        </td>
        <td class='passCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='passClass warning'>
    <td>Testcase03</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">28.42秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c26',1)" class="detail" id='c26'>详细</a></td>
</tr>

<tr id='pt26_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_input</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>Testcase03</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">28.49秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c27',1)" class="detail" id='c27'>详细</a></td>
</tr>

<tr id='pt27_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_input</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='errorClass warning'>
    <td>Testcase03</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">24.2秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c28',1)" class="detail" id='c28'>详细</a></td>
</tr>

    <tr id='et28_1' class='none'>
        <td class='errorCase' style="vertical-align: middle"><div class='testcase'>test_01_input</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_et28_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_et28_1'>错误</button>
        <div id='div_et28_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_et28_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_et28_1'>错误</button>
        <div id='div_et28_1' class="collapse in">
        <pre style="text-align:left">
        
et28_1: Traceback (most recent call last):
  File "D:\自动化项目\ECshop\case\test_01_06_07_No_sure_delete.py", line 29, in test_01_input
    self.my_browser.page_shop_cart_no_delete()
  File "D:\自动化项目\ECshop\page\shop_cart.py", line 76, in page_shop_cart_no_delete
    self.base_alert1()
AttributeError: 'Pageshop_cart' object has no attribute 'base_alert1'


        </pre>
        </div>
        </td>
        <td class='errorCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='passClass warning'>
    <td>Testcase03</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">28.39秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c29',1)" class="detail" id='c29'>详细</a></td>
</tr>

<tr id='pt29_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_input</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='errorClass warning'>
    <td>Testcase03</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">24.17秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c30',1)" class="detail" id='c30'>详细</a></td>
</tr>

    <tr id='et30_1' class='none'>
        <td class='errorCase' style="vertical-align: middle"><div class='testcase'>test_01_input</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_et30_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_et30_1'>错误</button>
        <div id='div_et30_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_et30_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_et30_1'>错误</button>
        <div id='div_et30_1' class="collapse in">
        <pre style="text-align:left">
        
et30_1: Traceback (most recent call last):
  File "D:\自动化项目\ECshop\case\test_01_06_09_no_sure_clooection.py", line 29, in test_01_input
    self.my_browser.page_shop_cart_no_sure_collection()
  File "D:\自动化项目\ECshop\page\shop_cart.py", line 87, in page_shop_cart_no_sure_collection
    self.base_alert1()
AttributeError: 'Pageshop_cart' object has no attribute 'base_alert1'


        </pre>
        </div>
        </td>
        <td class='errorCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='errorClass warning'>
    <td>Testcase03</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">34.64秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c31',1)" class="detail" id='c31'>详细</a></td>
</tr>

    <tr id='et31_1' class='none'>
        <td class='errorCase' style="vertical-align: middle"><div class='testcase'>test_01_input</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_et31_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_et31_1'>错误</button>
        <div id='div_et31_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_et31_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_et31_1'>错误</button>
        <div id='div_et31_1' class="collapse in">
        <pre style="text-align:left">
        
et31_1: Traceback (most recent call last):
  File "D:\自动化项目\ECshop\case\test_01_06_10_add_addr.py", line 28, in test_01_input
    self.my_browser.page_addr_select_province('四川省')
  File "D:\自动化项目\ECshop\page\add_addr.py", line 48, in page_addr_select_province
    self.base_select(self.S_select,your_content)
  File "D:\自动化项目\ECshop\common\base.py", line 101, in base_select
    Select(WebDriverWait(self.my,time).until(EC.presence_of_element_located(your_locator))).select_by_visible_text(your_content)
  File "C:\Users\23160\AppData\Roaming\Python\Python37\site-packages\selenium\webdriver\support\wait.py", line 80, in until
    raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: 



        </pre>
        </div>
        </td>
        <td class='errorCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='passClass warning'>
    <td>TestCase01</td>
    <td></td>
    <td class="text-center">2</td>
    <td class="text-center">2</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">39.46秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c32',2)" class="detail" id='c32'>详细</a></td>
</tr>

<tr id='pt32_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_login_admin</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt32_2' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_02_login_admin</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase01</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">49.06秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c33',1)" class="detail" id='c33'>详细</a></td>
</tr>

<tr id='pt33_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test01_per_list_admin</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase01</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">27.7秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c34',1)" class="detail" id='c34'>详细</a></td>
</tr>

<tr id='pt34_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test01_per_list_admin</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase03</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">20.91秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c35',1)" class="detail" id='c35'>详细</a></td>
</tr>

<tr id='pt35_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test03_per_list_admin</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase04</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">26.06秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c36',1)" class="detail" id='c36'>详细</a></td>
</tr>

    <tr id='pt36_1' class='hiddenRow'>
        <td class='passCase' style="vertical-align: middle"><div class='testcase'>test04_per_list_admin</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_pt36_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_pt36_1'>通过</button>
        <div id='div_pt36_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_pt36_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_pt36_1'>通过</button>
        <div id='div_pt36_1' class="collapse in">
        <pre style="text-align:left">
        
pt36_1: 删除操作日志:


        </pre>
        </div>
        </td>
        <td class='passCase' style="vertical-align: middle"></td>
    </tr>
    
<tr class='passClass warning'>
    <td>TestCase05</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">31.04秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c37',1)" class="detail" id='c37'>详细</a></td>
</tr>

<tr id='pt37_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test05_per_list_admin</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase05</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">21.17秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c38',1)" class="detail" id='c38'>详细</a></td>
</tr>

<tr id='pt38_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test05_per_list_admin</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='errorClass warning'>
    <td>TestCase02</td>
    <td></td>
    <td class="text-center">2</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">45.84秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c39',2)" class="detail" id='c39'>详细</a></td>
</tr>

    <tr id='et39_1' class='none'>
        <td class='errorCase' style="vertical-align: middle"><div class='testcase'>test_01_add_goods</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_et39_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_et39_1'>错误</button>
        <div id='div_et39_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_et39_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_et39_1'>错误</button>
        <div id='div_et39_1' class="collapse in">
        <pre style="text-align:left">
        
et39_1: Traceback (most recent call last):
  File "D:\Program Files\python\lib\configparser.py", line 845, in items
    d.update(self._sections[section])
KeyError: 'mysqldb'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\自动化项目\ECshop\case\test_02_02_02_add_goods.py", line 38, in test_01_add_goods
    if '宇宙飞船22' in sql.show_data(show)[0]['goods_name']:
  File "D:\自动化项目\ECshop\common\pymysql_09.py", line 17, in show_data
    cnn = pymysql.connect(**self.get_ini_data())
  File "D:\自动化项目\ECshop\common\pymysql_09.py", line 11, in get_ini_data
    ini_dict_data=dict(cfg.items('mysqldb'))    # 获取mysqldb节下的数据  并转换成字典
  File "D:\Program Files\python\lib\configparser.py", line 848, in items
    raise NoSectionError(section)
configparser.NoSectionError: No section: 'mysqldb'


        </pre>
        </div>
        </td>
        <td class='errorCase' style="vertical-align: middle"></td>
    </tr>
    
<tr id='pt39_2' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_02_add_goods</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase03</td>
    <td></td>
    <td class="text-center">2</td>
    <td class="text-center">2</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">28.2秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c40',2)" class="detail" id='c40'>详细</a></td>
</tr>

<tr id='pt40_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_user_comments</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt40_2' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_02_user_comments</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase01</td>
    <td></td>
    <td class="text-center">6</td>
    <td class="text-center">6</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">276.48秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c41',6)" class="detail" id='c41'>详细</a></td>
</tr>

<tr id='pt41_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_1</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt41_2' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_2</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt41_3' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_3</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt41_4' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_4</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt41_5' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_5</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt41_6' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_6</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='passClass warning'>
    <td>TestCase01</td>
    <td></td>
    <td class="text-center">6</td>
    <td class="text-center">6</td>
    <td class="text-center">0</td>
    <td class="text-center">0</td>
    <td class="text-center">275.71秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c42',6)" class="detail" id='c42'>详细</a></td>
</tr>

<tr id='pt42_1' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_1</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt42_2' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_2</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt42_3' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_3</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt42_4' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_4</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt42_5' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_5</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr id='pt42_6' class='hiddenRow'>
    <td class='passCase' style="vertical-align: middle"><div class='testcase'>test_01_add_member_6</div></td>
    <td style="vertical-align: left"></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
    <td class='passCase' style="vertical-align: middle"></td>
</tr>

<tr class='failClass warning'>
    <td>TestCase01</td>
    <td></td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center">45.25秒</td>
    <td class="text-center"><a href="javascript:showClassDetail('c43',1)" class="detail" id='c43'>详细</a></td>
</tr>

    <tr id='ft43_1' class='none'>
        <td class='failCase' style="vertical-align: middle"><div class='testcase'>test_01_order_management</div></td>
        <td style="vertical-align: middle"></td>
        <td colspan='5' align='center'>
        <!--默认收起错误信息 -Findyou
        <button id='btn_ft43_1' type="button"  class="btn btn-xs collapsed" data-toggle="collapse" data-target='#div_ft43_1'>失败</button>
        <div id='div_ft43_1' class="collapse">  -->
        <!-- 默认展开错误信息 -Findyou /  修复失败按钮的颜色 -- Gelomen -->
        <button id='btn_ft43_1' type="button"  class="btn btn-xs" data-toggle="collapse" data-target='#div_ft43_1'>失败</button>
        <div id='div_ft43_1' class="collapse in">
        <pre style="text-align:left">
        
ft43_1: Traceback (most recent call last):
  File "D:\自动化项目\ECshop\case\test_02_03_03case_order_management.py", line 50, in test_01_order_management
    self.assertEqual(result, '2022070789026')
AssertionError: None != '2022070789026'


        </pre>
        </div>
        </td>
        <td class='failCase' style="vertical-align: middle"></td>
    </tr>
    
<tr id='total_row' class="text-center active">
    <td colspan='2'>总计</td>
    <td>58</td>
    <td>47</td>
    <td>6</td>
    <td>5</td>
    <td>1559.78秒</td>
    <td>通过率：81.03%</td>
</tr>
</table>

<div id='ending'>&nbsp;</div>
    <div id="toTop" style=" position:fixed;right:50px; bottom:30px; width:20px; height:20px;cursor:pointer; display: none">
    <a><span class="glyphicon glyphicon-eject" style = "font-size:30px;" aria-hidden="true">
    </span></a></div>
    
</body>
</html>
